package com.woniu.zsd.permission.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-03-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("admin_info")
@ApiModel(value="管理员信息", description="")
public class AdminInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "负责人 ID")
    @TableId(value = "admin_id", type = IdType.AUTO)
    private Integer adminId;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "头像（使用默认不允许修改）")
    private String headPath;

    @ApiModelProperty(value = "工作状态（1.空闲2.工作中3.异常）")
    private String state;

    @ApiModelProperty(value = "删除标记")
    private String isDelete;

    @ApiModelProperty(value = "0.超级管理员1.站长2.负责人3.临时工")
    private Integer role;

    @ApiModelProperty(value = "站点 ID")
    private Integer siteId;

    @ApiModelProperty(value = "账号")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "过期时间")
    private String expireTime;
}
